package com.qut.atcoder.pojo;

public class UserQuestion {
    private int id;
    private int user_id;
    private int question_id;
    private int time;
    private int state;
    private String code;
    private int is_exist;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getQuestion_id() {
        return question_id;
    }

    public void setQuestion_id(int question_id) {
        this.question_id = question_id;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getIs_exist() {
        return is_exist;
    }

    public void setIs_exist(int is_exist) {
        this.is_exist = is_exist;
    }

    @Override
    public String toString() {
        return "UserQuestion{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", question_id=" + question_id +
                ", time=" + time +
                ", state=" + state +
                ", code='" + code + '\'' +
                ", is_exist=" + is_exist +
                '}';
    }
}
